FROM openjdk:8
WORKDIR /
MAINTAINER longlong
COPY ./target/sharding-demo-1.0-SNAPSHOT.jar /sharding-demo.jar
EXPOSE 8087
ENTRYPOINT ["java","-jar","/sharding-demo.jar"]